package com.swjd.service;

import com.swjd.mapper.StudentMapper;
import com.swjd.pojo.Student;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 刘涛
 * @create 2021/11/9 9:46
 */
@Service
public class StudentService {
    @Autowired
    private StudentMapper studentMapper;

    public Student findById(int id) {
        return studentMapper.findById(id);
    }
}
